package test_common.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhangzheng
 * @create 2021/1/12
 */
public class ResourceVo implements Serializable {
    @Override
    public String toString() {
        return "ResourceVo{" +
                "userName='" + userName + '\'' +
                ", id=" + id +
                ", title='" + title + '\'' +
                ", path='" + path + '\'' +
                ", coverImageUrl='" + coverImageUrl + '\'' +
                ", originalName='" + originalName + '\'' +
                ", fileSize='" + fileSize + '\'' +
                ", fileType='" + fileType + '\'' +
                ", totalTime='" + totalTime + '\'' +
                ", clickCount=" + clickCount +
                ", createDate=" + createDate +
                ", costType=" + costType +
                ", costNumber=" + costNumber +
                ", userId=" + userId +
                ", chapterId=" + chapterId +
                ", courseId=" + courseId +
                ", status=" + status +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    private String userName;
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.title
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String title;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.path
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String path;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.cover_image_url
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String coverImageUrl;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.original_name
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String originalName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.file_size
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String fileSize;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.file_type
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String fileType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.total_time
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private String totalTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.click_count
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer clickCount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.create_date
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Date createDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.cost_type
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer costType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.cost_number
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer costNumber;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.user_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer userId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.chapter_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer chapterId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.course_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer courseId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_resource.status
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    private Integer status;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.id
     *
     * @return the value of t_resource.id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.id
     *
     * @param id the value for t_resource.id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.title
     *
     * @return the value of t_resource.title
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.title
     *
     * @param title the value for t_resource.title
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.path
     *
     * @return the value of t_resource.path
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getPath() {
        return path;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.path
     *
     * @param path the value for t_resource.path
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.cover_image_url
     *
     * @return the value of t_resource.cover_image_url
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.cover_image_url
     *
     * @param coverImageUrl the value for t_resource.cover_image_url
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl == null ? null : coverImageUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.original_name
     *
     * @return the value of t_resource.original_name
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getOriginalName() {
        return originalName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.original_name
     *
     * @param originalName the value for t_resource.original_name
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setOriginalName(String originalName) {
        this.originalName = originalName == null ? null : originalName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.file_size
     *
     * @return the value of t_resource.file_size
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getFileSize() {
        return fileSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.file_size
     *
     * @param fileSize the value for t_resource.file_size
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setFileSize(String fileSize) {
        this.fileSize = fileSize == null ? null : fileSize.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.file_type
     *
     * @return the value of t_resource.file_type
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getFileType() {
        return fileType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.file_type
     *
     * @param fileType the value for t_resource.file_type
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.total_time
     *
     * @return the value of t_resource.total_time
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public String getTotalTime() {
        return totalTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.total_time
     *
     * @param totalTime the value for t_resource.total_time
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setTotalTime(String totalTime) {
        this.totalTime = totalTime == null ? null : totalTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.click_count
     *
     * @return the value of t_resource.click_count
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getClickCount() {
        return clickCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.click_count
     *
     * @param clickCount the value for t_resource.click_count
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setClickCount(Integer clickCount) {
        this.clickCount = clickCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.create_date
     *
     * @return the value of t_resource.create_date
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.create_date
     *
     * @param createDate the value for t_resource.create_date
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.cost_type
     *
     * @return the value of t_resource.cost_type
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getCostType() {
        return costType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.cost_type
     *
     * @param costType the value for t_resource.cost_type
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setCostType(Integer costType) {
        this.costType = costType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.cost_number
     *
     * @return the value of t_resource.cost_number
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getCostNumber() {
        return costNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.cost_number
     *
     * @param costNumber the value for t_resource.cost_number
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setCostNumber(Integer costNumber) {
        this.costNumber = costNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.user_id
     *
     * @return the value of t_resource.user_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.user_id
     *
     * @param userId the value for t_resource.user_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.chapter_id
     *
     * @return the value of t_resource.chapter_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getChapterId() {
        return chapterId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.chapter_id
     *
     * @param chapterId the value for t_resource.chapter_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.course_id
     *
     * @return the value of t_resource.course_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getCourseId() {
        return courseId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.course_id
     *
     * @param courseId the value for t_resource.course_id
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_resource.status
     *
     * @return the value of t_resource.status
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_resource.status
     *
     * @param status the value for t_resource.status
     *
     * @mbggenerated Fri Jan 08 15:50:24 CST 2021
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
}
